{"version":3,"sources":["sticker.js"],"names":["BXSticker","Params","Stickers","MESS","this","sessid_get","bShowStickers","curEditorStickerInd","oneGifSrc","colorSchemes","name","color","title","Yellow","Green","Blue","Red","Purple","Gray","curPageCount","useHotkeys","BX","bind","document","proxy","OnKeyUp","window","__bxst_result","Init","prototype","oMarkerConfig","attr","src","href","alt","class","className","id","type","value","impAttr","changeColorEffect","arStickers","posReg","bInited","access","_arSavedStickers","OnMousedown","_this","addCustomEvent","pEl","findChild","addClass","removeClass","UpdateStickersCount","DisplayStickers","bVisEffects","ShowEditor","ind","ShowAll","bShow","bAddStickers","show","stickers","Request","pageUrl","b_inited","res","AddSticker","HideAll","oSt","i","l","length","pWin","Get","style","display","pShadow","pMarker","Sticker","bShowEditor","SaveAndCloseEditor","setTimeout","oSticker","ConvertStickerObj","bNew","personal","colorInd","parseInt","start_color","width","start_width","height","start_height","collapsed","completed","info","CreateWindow","SetMarker","CWindow","Show","SETTINGS","min_width","min_height","DenyClose","bReadonly","pTypeCont","pHead","appendChild","create","props","pIdsCont","html","pCheckCont","pCheck","Complete","pCheckLabel","attrs","for","text","CompleteLabel","pCollapsedTitle","UnCollapseTitle","pCloseBut","Close","pCollapseBut","Collapse","curUserId","authorId","Public","Personal","onclick","__stWasDragged","SetType","substr","SetUnselectable","pBody","pContentArea","pFoot","pMarkerAreaBut","SetMarkerArea","pMarkerElementBut","SetMarkerEl","pColorBut","Color","pAddBut","Add","pResizer","pInfo","pHint","CHintSimple","parent","hint","windowSize","GetWindowInnerSize","windowScroll","GetWindowScrollPos","left","top","scrollLeft","innerWidth","offsetWidth","Math","round","max","scrollTop","innerHeight","offsetHeight","StickerInd","body","component","ZIndexManager","getComponent","setOverlay","RegisterSticker","obj","bButPanelShowed","_over","AdjustToSize","SetColorScheme","SetCompleted","CollapseSticker","SetDraggable","bringToFront","OnDragEnd","OnDragDrop","SetResize","OnResizeStart","OnResizeEnd","ondblclick","CloseSticker","AddToSticker","checked","ShowColorSelector","disabled","pos","GetSuitablePosition","RegisterPosition","AdjustShadow","OnDivMouseOver","DisplayMarker","overflow","innerHTML","html_content","focusOnSticker","scrollTo","Hightlight","BlinkRed","onmouseover","onmouseout","UpdateNewSticker","oLHESticker","SetFocusToEnd","t","d","l1","t1","bAdjust","push","w","h","contHeight","browser","IsIE","IsDoctype","pFrame","ResizeFrame","closed","parentNode","removeChild","AdjustEditorSizeAndPos","pEditorCont","zIndex","AdjustHintToCursor","e","realX","realY","AdjustScrollPosToCursor","AdjustStickerToArea","x","y","size","scroll","deltaH","marker","adjust","MoveToPos","SaveSticker","resPos","startTop","startLeft","endTop","endLeft","curTop","curLeft","count","bUp","bLeft","time","d1","ceil","abs","d2","dx","dy","SetPos","Interval","setInterval","clearInterval","ChangeColor","bEffect","bFadeIn","ShowColorOverlay","bSave","pEditorDocument","_colTimeout","clearTimeout","bPersonal","PersonalTitle","PublicTitle","bChecked","bClose","authorName","confirm","CloseConfirm","replace","onUnRegister","pMarkerNode","admin","panel","Notify","CloseNotify","a","getElementsByTagName","focus","bCollapse","UnCollapse","GetCollapsedContent","bResizingNow","bPreload","visibility","bLoadLHEEditor","PrepareEditorAfterLoading","DisplayEditor","interval","LoadLHE_LHEBxStickers","oSpecialParsers","Parse","sName","sContent","pLEditor","SetBxTag","tag","UnParse","bxTag","pNode","arNodes","_RecursiveGetHTML","__sContent","bJustDisplay","SetContent","content","GetNewStickerContent","CreateFrame","SetEditorContent","execCommand","maxTop","movePanelInterval","InsertHTML","ParseContent","action","postParams","callBack","bShowWaitWin","showWait","actionUrl","site_id","ajax","post","result","closeWait","setUnselectable","ondragstart","PreventDefault","it","pColorOverlay","register","MousePos","event","pageX","pageY","clientX","clientY","documentElement","clientLeft","clientTop","bSaveSticker","SaveContent","GetContent","htmlContent","strDate","date","format","convertBitrixFormat","message","util","htmlspecialchars","curUserName","reqid","random","page_url","page_title","pageTitle","HINT","CONTENT_TEXT","colContent","indexOf","str","String","fromCharCode","ID","PERSONAL","COLOR","CONTENT","HTML_CONTENT","POS_TOP","POS_LEFT","WIDTH","HEIGHT","COLLAPSED","COMPLETED","CLOSED","INFO","AUTHOR","CREATED_BY","MARKER_ADJUST","MARKER_WIDTH","MARKER_HEIGHT","MARKER_TOP","MARKER_LEFT","mode","bHightlightElementMode","bSelectAreaMode","oMarker","markerResizer","cont","node","bSetMarkerMode","pOverlay","ss","GetWindowScrollSize","scrollWidth","scrollHeight","pCursorHint","CursorHint","pWnd","OnMouseMove","OnMouseUp","bPopup","bSelMode","right","bottom","bDrawMarkerMode","from","bPrevent","pCurMarkeredNode","cn","findParent","RegExp","MarkerHightlightNode","target","srcElement","nodeType","nodeName","to","unbind","CreateMarker","onmousedown","arguments","GetNodeAdjustInfo","FindMarkerNode","nodeInfo","_GetNodeAdjustInfo","_GetNodeAdjustSiblings","toLowerCase","trim","attributes","val","withId","pParent","getAttribute","pChildren","children","pPrevSibling","findPreviousSibling","prevSibling","pNextSibling","findNextSibling","nextSibling","arFindedNodes","nextNode","TestNodeWithAttributes","coincide","prevNode","previousSibling","child","parNode","tagName","arAllNodes","bImpAttrCoincide","arRealNodes","maxCoincide","mostRealNode","delta","bInnerHTML","bOver","ShowButtonsPanel","_overTimeout","bEffects","bHideBottom","curHeight","resHeight","bColSelShowed","sbpInterval","b","pColSelector","getZIndex","ShowOverlay","pTransOverlay","OnKeyDown","False","key","which","keyCode","rep","it0","pBlinkRed","ShowList","List","BXStickerList","_bCtrlPressed","_bShiftPressed","shiftKey","ctrlKey","isNaN","arCurPageIds","bShowed","Config","content_url","encodeURIComponent","StickerListTitle","listWidth","listHeight","resizable","resize_id","bRefreshPage","naviSize","listNaviSize","oDialog","CDialog","SetButtons","btnClose","location","AdjustNaviSize","OnLoad","pAllBut","pMyBut","pColorCont","pOpenedBut","pClosedBut","pAllStickersBut","pItemsTable","pItemsTableCnt","pNaviCont","pActionSel","pActionBut","pPageSelect","filterParams","status","page","_col","colors","checkedColors","cur_page_ids","col","pCol","__s","ReloadList","SetStickerType","SetStickerStatus","Action","onchange","SetPage","SetTitle","EnableActionBut","bReload","StickersStatus","StickersType","StickersPage","NaviGet","navNum","params","sticker_just_res","sticker_type","sticker_status","sticker_page","navi_size","cur_page","list_rows_count","arRes","split","newNaviSize","rowHeight","maxHeight","floor","CheckAll","rows","bFind","cells","firstChild","DelConfirm","arIds","ch","list_action","list_ids","bEnable"],"mappings":"AAAA,SAASA,UAAUC,EAAQC,EAAUC,GAEpCC,KAAKD,KAAOA,EACZC,KAAKF,SAAWA,MAChBE,KAAKH,OAASA,EACdG,KAAKC,WAAaJ,EAAOI,WACzBD,KAAKE,cAAgBL,EAAOK,cAC5BF,KAAKG,oBAAsB,MAC3BH,KAAKI,UAAY,uBACjBJ,KAAKK,eACHC,KAAM,cAAeC,MAAO,UAAWC,MAAOR,KAAKD,KAAKU,SACxDH,KAAM,aAAcC,MAAO,UAAWC,MAAOR,KAAKD,KAAKW,QACvDJ,KAAM,YAAaC,MAAO,UAAWC,MAAOR,KAAKD,KAAKY,OACtDL,KAAM,WAAYC,MAAO,UAAWC,MAAOR,KAAKD,KAAKa,MACrDN,KAAM,cAAeC,MAAO,UAAWC,MAAOR,KAAKD,KAAKc,SACxDP,KAAM,YAAaC,MAAO,UAAWC,MAAOR,KAAKD,KAAKe,OAGxDd,KAAKe,aAAef,KAAKH,OAAOkB,aAGhC,GAAIf,KAAKH,OAAOmB,WACfC,GAAGC,KAAKC,SAAU,QAASF,GAAGG,MAAMpB,KAAKqB,QAASrB,OAGnDsB,OAAOC,iBAEP,GAAI1B,EAAOK,cACVF,KAAKwB,KAAK3B,GAGZD,UAAU6B,WACTD,KAAM,SAAS3B,GAEdG,KAAK0B,eACJC,MACCnB,MAAQ,KACRoB,IAAM,KACNC,KAAO,KACPC,IAAM,KACNC,MAAU,KACVC,UAAY,KACZC,GAAK,KACL3B,KAAO,KACP4B,KAAO,KACPC,MAAQ,MAETC,SACCR,IAAM,KACNK,GAAK,KACL3B,KAAO,KACPuB,KAAO,OAIT7B,KAAKH,OAAOwC,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